package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import lombok.Data;
import org.springframework.data.annotation.Transient;

import java.util.Date;
import java.util.List;


/**
 * 客诉回复对象 ks_reply_log
 *
 * @author hjf
 * @date 2025-07-10
 */

@Data
public class KsReplyLog extends BaseEntity {
    private static final long serialVersionUID = 1L;

    /**
     * id
     */
    private Long id;

    /**
     * 订单id
     */
    @Excel(name = "订单id")
    private String orderId;

    /**
     * 客诉工单号
     */
    @Excel(name = "客诉工单号")
    private Long ksId;

    /**
     * 回复人id
     */
    @Excel(name = "回复人id")
    private Long replyUserId;

    @Transient
    private Long auditUserId;

    /**
     * 回复内容
     */
    @Excel(name = "回复内容")
    private String replyContent;

    /**
     * 引用节点
     */
    @Excel(name = "引用节点")
    private Long referenceId;

    /**
     * 引用内容
     */
    @Excel(name = "引用内容")
    private String referenceContent;
    @Transient
    private String nickName;
    @Transient
    private String roleName;
    @Transient
    private String state;
    @Transient
    private List<KsAttachment> ksAttachmentList;
    @Transient
    private List<KsAttachment> imageKsAttachmentList;
    @Transient
    private List<KsAttachment> audioKsAttachmentList;
    @Transient
    private String referenceNickName;
    @Transient
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss", timezone = "GMT+8")
    private Date referenceTime;

}
